package domain;

import java.util.List;
import java.util.Set;

public interface IDAOContact {
	
	public Contact addContact(String firstname, String lastname, String email, Address address, Set<PhoneNumber> phones, String [] books, String SIRET);
	
	public boolean deleteContact(long id);
	
	public Contact getContact(long id);
	
	public boolean modifyContact(long id, String firstname, String lastname, String email, Address address, Set<PhoneNumber> phones, String [] books, String SIRET);
	
	public List<Contact> getContactByFirstName(String firstname);
	
	public List<Contact> getContactByLastName(String lastname);
	
	public List<Contact> getContactByEmail(String email);
	
	public List<Contact> getAllContact();
	
	public List<ContactGroup> getAllBook();
}
